package com.magiccompass.alipay.barcode.util;

public class StringUtil {
	public static boolean isEmpty(String str) {
		if (str == null || (str.trim().length()) == 0) {
			return true;
		}
		return false;
	}
	
	public static boolean areNotEmpty(String... strs) {
		boolean result = true;
		if (strs == null || strs.length == 0) {
			result = false;
		} else {
			for (String value : strs) {
				result &= !isEmpty(value);
			}
		}
		return result;
	}
}
